package com.demo.bbdd;

import com.demo.providers.AppProvider;

import android.net.Uri;
import android.provider.BaseColumns;

public class NTContract {

	public static class PLACE implements BaseColumns {
		public static final String TABLE = "places";
		public static final String LAT = "lat";
		public static final String LNG = "lng";
		public static final String NAME = "name";
		public static final String HASH = "hash";
		public static final String TIME = "time";

		public static final Uri URI = Uri.parse("content://"
				+ AppProvider.AUTHORITY + "/" + AppProvider.BASE_PATH);
	}

	public static class SQL_CREATE_SCRIPTS {
		public static final String PLACES = "CREATE TABLE places ("
				+ "_id INTEGER PRIMARY KEY autoincrement, " + "lat text, "
				+ "lng text, " + "name text," + "hash text," + "time text);";
	}

}
